<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>乐i</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/css/see/reset.min.css">
    <link rel="stylesheet" href="/css/happyi/jobAdmin.min.css?v=<%=$version%>">
</head>
<body>
<div id="jobAdmin" v-cloak>
    <div class="circleBar-top">
        <span class="goback" @click="getBack()"></span>
        职位管理
        <strong class="seeIndex-setUp" @click="getNext(1)"><strong>+</strong>发职位</strong>
    </div>
    <div class="myPost-tab clearfix">
        <span :class="{'active':value==1}" @click="getTab(1)">招聘中</span>
        <span :class="{'active':value==2}" @click="getTab(2)">下线</span>
    </div>
    <div class="jobAdmin">
        <template v-if="value==1">
            <div class="recruit-list" v-for="item in getRecruit">
                <div class="recruit-listTop clearfix">
                    <div class="listTop-left" @click="getCandidate(item.recruitId,item.title)">
                        <strong>{{item.candidate}}</strong>
                        <p>候选人</p>
                    </div>
                    <div class="listTop-right" @click="getNext(2,item.recruitId)">
                        <h6>{{item.title}}</h6>
                        <p>{{item.areaName}}<span></span>{{item.experienceName}}<span></span>{{item.educationName}}</p>
                        <div>{{item.salaryName}}<span>{{item.updateTime}}刷新</span></div>
                    </div>
                </div>
                <div class="recruit-listBtn clearfix">
                    <a><span class="jobAdmin-icon" @click="updateRecruitById(item.recruitId)">刷新</span></a>
                    <strong></strong>
                    <a><span class="jobAdmin-icon1">分享</span></a>
                </div>
            </div>
        </template>
        <template v-if="value==2">
            <div class="recruit-list downline" v-for="item in getRecruitDown">
                <div class="recruit-listTop clearfix">
                    <div class="listTop-right">
                        <h6>{{item.title}}</h6>
                        <p>{{item.areaName}}<span></span>{{item.experienceName}}<span></span>{{item.educationName}}</p>
                        <div>{{item.salaryName}}</div>
                    </div>
                </div>
                <div class="recruit-listBtn clearfix">
                    <a><span class="jobAdmin-icon3" @click="upRecruitById(item.recruitId)">上线</span></a>
                    <strong></strong>
                    <a><span class="jobAdmin-icon2" @click="deleteRecruitById(item.recruitId)">删除</span></a>
                </div>
            </div>
        </template>

    </div>
    <div class="loadtip" v-if="loadFlag"></div>
    <prompt-view ref="prompt"></prompt-view>
</div>
<script src='/plugins/js/jquery-1.11.3.min.js'></script>
<script type="text/javascript" src="/plugins/js/vue.min.js"></script>
<script type="text/javascript" src="/js/happyi/jobAdmin.js?v=<%=$version%>"></script>

</body>
</html>